#include<stdio.h>
#define c (int i,int j){return
int g c i<21&&j<63.8+1.4*i-0.07*i*i||i>20&&j<120.3-2.79*i&&i<39;}int k c g(i,j)&&g(38-i,70-j);}int i,j;int main(){for(;i<97;i++){for(j=0;g(i%29,j)&&(i<87||g(i-58,j));j++)printf(k(i,j)||k(i-29,j)||k(i-58,j)?"#":" ");puts("");}}